c# environment variables

74

csharp check if env is development -

bool isDevelopment = Environment.GetEnvironmentVariable("ASPNETCORE_ENVIRONMENT") == "Development";

Comments

Submit
0 Comments